home *** CD-ROM | disk | FTP | other *** search
- Path: linus.mitre.org!mbunix!costello
- From: costello@mbunix.mitre.org (Roger L Costello)
- Newsgroups: comp.lang.c++
- Subject: __beginthreadex error
- Date: 21 Feb 1996 13:59:41 GMT
- Organization: The MITRE Corporation, Bedford Mass.
- Distribution: usa
- Message-ID: <4gf8gd$6r9@linus.mitre.org>
- NNTP-Posting-Host: mbunix.mitre.org
-
- Hi Folks,
- I am new to MS VC++ so bear with me. I am writing a simple
- console application. I am also trying to learn MFC so I have a
- program that uses a couple of MFC classes (CFrameWnd and CMainWIndow).
-
- The problem is that when I try to build the program I get the
- following error:
-
- nafxcwd.lib (thrdcore.obj): error LNK2001: unresolved external symbol
- "__beginthreadex"
-
- I also get the error:
-
- nafxcwd.lib (thrdcore.obj): error LNK2001: unresolved external symbol
- "__endthreadex"
-
- Apparently I need to include some file. What file?
-
- In general, can I use MFC in console applications? Is there some
- way of setting flags during a build?
-
- Note: I am running MS VC++ 2.0 on NT 3.5.1
-
- Thanks for the help. /Roger
-